using MediatR;
using SmartTracking.ErrorCode;

namespace B.S.BaseData.Api.Write.Application.Command.Procurements
{
    /// <summary>
    /// 更新采购命令
    /// </summary>
    public class UpdateProcurementCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 采购主键ID
        /// </summary>
        public int ProcurementId { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public string PoultryHouse { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int TransferField { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 标包
        /// </summary>
        public string Label { get; set; }
        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int QuantityNum { get; set; }
        /// <summary>
        /// 只均单价(元)
        /// </summary>
        public string Price { get; set; }
        /// <summary>
        /// 金额(元)
        /// </summary>
        public string Amount { get; set; }
        /// <summary>
        /// 单位折扣(元)
        /// </summary>
        public string UnitDiscount { get; set; }
        /// <summary>
        /// 调整金额(元)
        /// </summary>
        public string AdjustAmount { get; set; }
        /// <summary>
        /// 结算金额(元)
        /// </summary>
        public string Settlement { get; set; }
        /// <summary>
        /// 总重量(公斤)
        /// </summary>
        public int Totalweight { get; set; }
    }
}

